package com.ruoyi.testing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 项目委托书详情信息对象 entrustment_agreement_detail
 * 
 * @author ruoyi
 * @date 2023-10-16
 */
@ApiModel("项目委托书详情信息")
@Data
public class EntrustmentAgreementDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String id;

    /** 项目id */
    @Excel(name = "项目id")
    @ApiModelProperty(value = "项目id")
    private String agreementId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    @ApiModelProperty(value = "项目编号")
    private String agreementNum;

    /** 样品id */
    @Excel(name = "项目受检设备id")
    @ApiModelProperty(value = "项目受检设备id")
    private String sampleId;

    /** 样品类别 */
    @Excel(name = "项目受检设备类别")
    @ApiModelProperty(value = "项目受检设备类别")
    private String sampleType;

    /** 样品名称 */
    @ApiModelProperty(value = "样品名称")
    private String sampleName;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String nums;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty(value = "报告编号")
    private String reportNum;

    /** 主检 */
    @Excel(name = "主检")
    @ApiModelProperty(value = "主检")
    private String mainTester;

    /** 主检人名 */
    private String mainName;

    /** 检测员 */
    @Excel(name = "检测员")
    @ApiModelProperty(value = "检测员")
    private String subTester;

    /** 检测员数组 */
    @Excel(name = "检测员数组")
    @ApiModelProperty(value = "检测员数组")
    private String[] subTesters;

    /** 检测人名 */
    private String subName;

    /** 完成状态 */
    @Excel(name = "完成状态")
    @ApiModelProperty(value = "完成状态")
    private String state;

    /** 预估完成日期 */
    @JsonFormat(pattern = "yyyy.MM.dd")
    private Date reportCompleteTime;

    /** 报告编号列表 */
    private List<Map<String, Object>> bgbhList;

    /** 检测类别(台/项) */
    @ApiModelProperty(value = "检测类别(台/项)")
    private String testType;

    /** 序号 */
    private String sorts;

    /** 规格型号 */
    private String model;

    /** 单价 */
    private String price;

    /** 小计 */
    private String costs;

    /** 实测 */
    private String test;

    /** 报告编制人 */
    private String reportExam;

    /** 整改建议 */
    private String regest;

    /** 整改建议 */
    private String remarks;
}
